<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>我的地址 </title>
  <link rel="stylesheet" href="../mobile/layui/css/layui.mobile.css">
  <link rel="stylesheet" href="../mobile/layui/css/layui.css">
  <link rel="stylesheet" href="../mobile/css/yj_css.css">
</head>
<body>
<header class="yj-header">
  <a href="javascript:history.go(-1)" class="yj-header-return layui-icon">&#xe603;</a>
  <span>余额明细</span>
  <a class="yj-header-meau"></a>
</header>
  <div class="yj-content yj-mar-footer">
    <div class="yj-bg-gradient yj-order-header yj-colorfff yj-text-center">
      <p class="yj-text-big" style="margin-bottom: .2rem;">&yen;<span>[[${result.result.uMoney}]]</span></p>
      <a class="yj-btn yj-btn-sm yj-btn-line-main yj-mar-l" href="recharge.html">余额充值</a>
    </div>
    <div th:each="result : ${result.result.indentForms}">
    <div class="yj-address-item yj-mar-t-big" >

      <a class="yj-address-list yj-pad-tb-big" href="">
        <span class="yj-address-icon"><img class="yj-list-item-icon" src="../mobile/images/tb6.png"></span>
        <div class="yj-address-main">
          <p class="yj-mar-t"><span>[[${result.ifTitle}]]</span></p>
          <div style="font-size: 8px">[[${#dates.format(result.ifTime,'yyyy-MM-dd HH:mm:ss')}]]</div>
        </div>
        <span class="yj-address-more" th:switch="${result.ifTitle}">
          <span th:case="充值">+</span>
          <span th:case="租车">-</span>
          <i class="layui-icon" >[[${result.ifMoney}]]</i>
        </span>
      </a>

    </div>

    </div>

  </div>


<script th:src="@{/mobile/js/jquery.min.js}"></script>
<script th:src="@{/mobile/layui/layui.js}"></script>
<script th:inline="javascript">
  var url = [[@{/}]];
    layui.use("layer",function () {
      var layer = layui.layer;
    })
</script>

<script>
  /*$(function () {
     $.ajax({
       url:url+"indentForm/findIndentForm",
       success:function (result) {

       }
     })


  })*/
</script>
</body>
</html>